﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Person
    {
        protected string name;
        public Person() { }
        public Person(string name) { }

        public void PrintFatherMsg() 
        {
            Console.WriteLine("我是父类里的打印方法。");
        }
    }
}
